package Advance;

public class Application
{
    public static void main(String[] args)
    {
        Simulator simulator= new Simulator();
        simulator.playsound(new cat());
        simulator.playsound(new dog());
    }
}
